import React, { Component } from 'react';
import {
  AppReqisty,
  StyleSheet,
  Text,
  View,
  Image,
  TextInput,
  TouchableOpacity,


} from 'react-native';

export default class sys extends Component<Props> {
  render() {
    return (
     <View style={styles.container}>
  <View style={styles.viewCommon}>
            <Text style={styles.txtCommon}>我的喜爱</Text>
          </View>
          <View>
          <Image style={styles.iconCommon} source={require('../../img/java.jpg')}/>
          </View>
     </View>
    );
  }
 
}
const styles = StyleSheet.create({
  container:{
    flex:1,
    backgroundColor:'#dddddd',
    alignItems:'center'
  },
  txtCommon: {
     marginLeft: 15,
     flex: 1
   },
  viewCommon: {
     height: 50,
     borderBottomWidth: 10,
     borderBottomColor: '#F0F0F0',
     flexDirection: 'row',
     alignItems: 'center',
     backgroundColor: '#ffffff',
   },
    iconCommon: {
     marginRight: 10,
     width:80,
     height:80,
   },
});
